package org.dey.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 随访日记
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_visitdiary")
public class VisitDiary {

    @TableId(value ="ID",type = IdType.AUTO)
    private Integer id;         //编号
    private Integer mid;        //被干预人员
    @TableField(exist = false)
    private String mname;
    private Integer uid;        //回访人员
    @TableField(exist = false)
    private String uname;
    private String filenumber;  //档案号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date visitday;      //回访日期
    private String times;       //具体时间
    private String visttype;    //回访方式
    private String visitcontent;//回访内容
    private String feedback;    //反馈信息
    private String result;      //处理结果



}
